<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script type="module">
    import Promise from "./index.js";
    // Promise实例下面有两个实例属性
    // state: 状态---》初始值为pending
    // result:值---->初始值为undefined
	const p = new Promise(function(){
    });
	console.log(p);//
</script>
</html>